$(function () {
    selectGroup();
})
function selectGroup() {
    let data1 = {groupNumber:localStorage.getItem("ifram-groupNumber")};
    console.log(data1);
    dataGroup = myAjax("/group/selectGroup",data1,"post");
    let data = dataGroup.list;
    let html ='';
    for (let i = 0 ;i<data.length;i++){
        html+='<tr>' +
            '<td>'+data[i].id+'</td>\n' +
            '            <td>'+data[i].groupName+'</td>\n' +
            '            <td>'+data[i].personnelName+'</td>\n' +
            '            <td>'+data[i].personnelSex+'</td>\n' +
            '            <td>'+data[i].personnelPhone+'</td>\n' +
            '            <td>'+data[i].leaderName+'</td>\n' +
            '</tr>'
    }
    $("#personnelManage").html(html);
}